﻿using MediatR;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace S.Authorization.API.Application.Command.Role
{
    /// <summary>
    /// 角色修改
    /// </summary>
    public class RoleUpdateCommand : IRequest<bool>
    {
        public int RoleId { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string? RoleName { get; set; }

        /// <summary>
        /// 角色描述
        /// </summary>
        public string? RoleDesc { get; set; }
    }
}
